package com.graducationdesign.springboot.mapper;

import com.graducationdesign.springboot.entities.Administrator.PersonnalInformationMoudle.Student;

import java.util.List;

/**
 * @author Mr.zhneg
 * @create 2019-11-16-18:48
 */
public interface StudentMapper {

    Student getLoginUser(String loginUser);
    List<Student> getStudents(Student student);
    Student getStudentForId(Student student);

    Student getStudentByPid(Integer id);

    int updateStudent(Student student);

    int deleteStudentById(Integer id);

    int addStudent(Student student);
}
